package zheezes.eisp.monitor.model;

import java.util.List;

import zheezes.eisp.data.orm.Concentrator;
import zheezes.model.ITreeNode;
import zheezes.model.ObservableTreeNode;


public class ConTreeNode extends ObservableTreeNode {
	@Override
	public String getLabel() {
		Concentrator con = (Concentrator) data;
		return con.getName();
	}

	@Override
	public void setLabel(String label) {
		Concentrator con = (Concentrator) data;
		con.setName(label);
	}

	public List getChildren() {
		return null;
	}

	public void setChildren(List children) {
	}

	public boolean hasChildren() {
		return false;
	}

	public void addChild(ITreeNode child) {
	}

	public void removeChild(ITreeNode child) {
	}
}
